package com.mo.axion.handler.script.impl;

import cn.hutool.core.util.IdUtil;
import com.alibaba.fastjson.JSON;
import com.google.common.base.Throwables;
import com.tencentcloudapi.common.Credential;
import com.tencentcloudapi.common.profile.ClientProfile;
import com.tencentcloudapi.common.profile.HttpProfile;
import com.tencentcloudapi.sms.v20210111.SmsClient;
import com.tencentcloudapi.sms.v20210111.models.SendSmsRequest;
import com.tencentcloudapi.sms.v20210111.models.SendSmsResponse;
import com.mo.axion.handler.domain.sms.SmsParam;
import com.mo.axion.handler.script.SmsScript;
import com.mo.axion.support.domain.SmsRecord;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Objects;

/**
 * @author Mo
 * @createTime 2024/1/22 11:58
 * @description
 * 1. 发送短信接入文档：https://cloud.tencent.com/document/api/382/55981
 * 2. 推荐直接使用SDK调用
 * 3. 推荐使用API Explorer 生成代码
 */
@Slf4j
@Component("TencentSmsScript")
public class TencentSmsScript implements SmsScript {
    private static final Integer PHONE_NUM = 11;


    @Override
    public List<SmsRecord> send(SmsParam smsParam) {
        return null;
    }

    @Override
    public List<SmsRecord> pull(Integer id) {
        return null;
    }
}
